<template>
  <div>
    <div>
      <h4>长度</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="11">
          <div>
            <span>左：上肢（肩峰到中指尖的距离）</span>
            <el-input v-model="pgForm.cdinput1" placeholder=""></el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <span>右：上肢（肩峰到中指尖的距离）</span>
            <el-input v-model="pgForm.cdinput4" placeholder=""></el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <span>左：上臂（肩峰到肱骨外上髁的距离）</span>
            <el-input v-model="pgForm.cdinput2" placeholder=""></el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <span>右：上臂（肩峰到肱骨外上髁的距离）</span>
            <el-input v-model="pgForm.cdinput5" placeholder=""></el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <span>左：前臂（桡骨小头到桡骨茎突）</span>
            <el-input v-model="pgForm.cdinput3" placeholder=""></el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <span>右：前臂（桡骨小头到桡骨茎突）</span>
            <el-input v-model="pgForm.cdinput6" placeholder=""></el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "length",
  title: "长度",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        cdinput1: '',
        cdinput2: '',
        cdinput3: '',
        cdinput4: '',
        cdinput5: '',
        cdinput6: '',
      },
    }
  }
}
</script>

<style scoped>

.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-input{
  width: 40%;
}
</style>
